package com.crm.pojo;

import java.io.Serializable;
import javax.persistence.*;
import java.math.BigDecimal;
import java.util.Date;


/**
 * The persistent class for the C_O_RECORD database table.
 * 
 */
@Entity
@Table(name="C_O_RECORD")
@NamedQuery(name="CORecord.findAll", query="SELECT c FROM CORecord c")
public class CORecord implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@SequenceGenerator(initialValue = 1, allocationSize = 1,name="C_O_RECORD_CORECORDID_GENERATOR", sequenceName="SEQ2")
	@GeneratedValue(strategy=GenerationType.SEQUENCE, generator="C_O_RECORD_CORECORDID_GENERATOR")
	@Column(name="C_O_RECORD_ID")
	private Long cORecordId;

	@Column(name="C_O_ACCOUNT")
	private BigDecimal cOAccount;

	@Column(name="C_O_RECORD_IS_DEL")
	private String cORecordIsDel;

	@Column(name="C_O_RECORD_MONEY")
	private BigDecimal cORecordMoney;

	@Column(name="C_O_RECORD_RECEIVER")
	private String cORecordReceiver;

	@Temporal(TemporalType.DATE)
	@Column(name="C_O_RECORD_TIME")
	private Date cORecordTime;

	@Column(name="FK_C_O_ID")
	private BigDecimal fkCOId;

	public CORecord() {
	}

	public Long getCORecordId() {
		return this.cORecordId;
	}

	public void setCORecordId(Long cORecordId) {
		this.cORecordId = cORecordId;
	}

	public BigDecimal getCOAccount() {
		return this.cOAccount;
	}

	public void setCOAccount(BigDecimal cOAccount) {
		this.cOAccount = cOAccount;
	}

	public String getCORecordIsDel() {
		return this.cORecordIsDel;
	}

	public void setCORecordIsDel(String cORecordIsDel) {
		this.cORecordIsDel = cORecordIsDel;
	}

	public BigDecimal getCORecordMoney() {
		return this.cORecordMoney;
	}

	public void setCORecordMoney(BigDecimal cORecordMoney) {
		this.cORecordMoney = cORecordMoney;
	}

	public String getCORecordReceiver() {
		return this.cORecordReceiver;
	}

	public void setCORecordReceiver(String cORecordReceiver) {
		this.cORecordReceiver = cORecordReceiver;
	}

	public Date getCORecordTime() {
		return this.cORecordTime;
	}

	public void setCORecordTime(Date cORecordTime) {
		this.cORecordTime = cORecordTime;
	}

	public BigDecimal getFkCOId() {
		return this.fkCOId;
	}

	public void setFkCOId(BigDecimal fkCOId) {
		this.fkCOId = fkCOId;
	}

}